package by.grsu.crs.model;

public class Session {
	private String md5hash;
	private User user;
	private boolean active;
	
	public Session(String md5hash, User user, boolean active) {
		super();
		this.md5hash = md5hash;
		this.user = user;
		this.active = active;
	}

	public String getMd5hash() {
		return md5hash;
	}

	public void setMd5hash(String md5hash) {
		this.md5hash = md5hash;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}
}
